<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{$title}</title>
<JS href="../Public/js/jq.js" />
<script>
function check()
{
	if($('#years').val() == '-1')
		{
		alert('请选择要添加的年份');
		return false;
		}
	}

</script>
</head>
<body>
<form action="__URL__/plan_add_years/" onsubmit="return check()">
<input type="hidden" value="{.schoolid}" name="schoolid" />
<select name="yearid" id="years">
<option value="-1">请选择您要添加的年份</option>
<volist name="years" id="vo">
<option value="{$key}">{$vo}</option>
</volist>
</select>
<input type="submit" value="添加" />
</form>
<table border="1">
<tr><td>编号</td><td>年份</td><td></td></tr>
<volist name="plan_list" id="vo">
<tr><td>{$key}</td><td>{$years[$vo[yearid]]}</td><td><a href="__URL__/ctl_plan/pid/{$vo.id}">操作</a></td></tr>
</volist>
</table>
</body>
</html>